home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
You can browse this item here: libpanel.tex
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document text
| default
| |
99%
| file
| LaTeX document, ASCII text, with CR line terminators
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/281 LaTeX (Subdocument)
| default
| |
100%
| detectItEasy
| Format: plain text[CR]
| default (weak)
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [R*ch] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 73 65 63 74 69 6f 6e | 7b 53 74 61 6e 64 61 72 |\section|{Standar|
|00000010| 64 20 4d 6f 64 75 6c 65 | 20 5c 73 65 63 74 63 6f |d Module| \sectco|
|00000020| 64 65 7b 70 61 6e 65 6c | 7d 7d 0d 5c 73 74 6d 6f |de{panel|}}.\stmo|
|00000030| 64 69 6e 64 65 78 7b 70 | 61 6e 65 6c 7d 0d 0d 5c |dindex{p|anel}..\|
|00000040| 73 74 72 6f 6e 67 7b 50 | 6c 65 61 73 65 20 6e 6f |strong{P|lease no|
|00000050| 74 65 3a 7d 20 54 68 65 | 20 46 4f 52 4d 53 20 6c |te:} The| FORMS l|
|00000060| 69 62 72 61 72 79 2c 20 | 74 6f 20 77 68 69 63 68 |ibrary, |to which|
|00000070| 20 74 68 65 20 5c 63 6f | 64 65 7b 66 6c 7d 20 6d | the \co|de{fl} m|
|00000080| 6f 64 75 6c 65 20 64 65 | 73 63 72 69 62 65 64 0d |odule de|scribed.|
|00000090| 61 62 6f 76 65 20 69 6e | 74 65 72 66 61 63 65 73 |above in|terfaces|
|000000a0| 2c 20 69 73 20 61 20 73 | 69 6d 70 6c 65 72 20 61 |, is a s|impler a|
|000000b0| 6e 64 20 6d 6f 72 65 20 | 61 63 63 65 73 73 69 62 |nd more |accessib|
|000000c0| 6c 65 20 75 73 65 72 20 | 69 6e 74 65 72 66 61 63 |le user |interfac|
|000000d0| 65 0d 6c 69 62 72 61 72 | 79 20 66 6f 72 20 75 73 |e.librar|y for us|
|000000e0| 65 20 77 69 74 68 20 47 | 4c 20 74 68 61 6e 20 74 |e with G|L than t|
|000000f0| 68 65 20 50 61 6e 65 6c | 20 4d 6f 64 75 6c 65 20 |he Panel| Module |
|00000100| 28 62 65 73 69 64 65 73 | 20 61 6c 73 6f 20 62 65 |(besides| also be|
|00000110| 69 6e 67 20 62 79 20 61 | 0d 44 75 74 63 68 20 61 |ing by a|.Dutch a|
|00000120| 75 74 68 6f 72 29 2e 0d | 0d 54 68 69 73 20 6d 6f |uthor)..|.This mo|
|00000130| 64 75 6c 65 20 73 68 6f | 75 6c 64 20 62 65 20 75 |dule sho|uld be u|
|00000140| 73 65 64 20 69 6e 73 74 | 65 61 64 20 6f 66 20 74 |sed inst|ead of t|
|00000150| 68 65 20 62 75 69 6c 74 | 2d 69 6e 20 6d 6f 64 75 |he built|-in modu|
|00000160| 6c 65 0d 5c 63 6f 64 65 | 7b 70 6e 6c 7d 0d 74 6f |le.\code|{pnl}.to|
|00000170| 20 69 6e 74 65 72 66 61 | 63 65 20 77 69 74 68 20 | interfa|ce with |
|00000180| 74 68 65 0d 7b 5c 65 6d | 20 50 61 6e 65 6c 20 4c |the.{\em| Panel L|
|00000190| 69 62 72 61 72 79 7d 2e | 0d 0d 54 68 65 20 6d 6f |ibrary}.|..The mo|
|000001a0| 64 75 6c 65 20 69 73 20 | 74 6f 6f 20 6c 61 72 67 |dule is |too larg|
|000001b0| 65 20 74 6f 20 64 6f 63 | 75 6d 65 6e 74 20 68 65 |e to doc|ument he|
|000001c0| 72 65 20 69 6e 20 69 74 | 73 20 65 6e 74 69 72 65 |re in it|s entire|
|000001d0| 74 79 2e 0d 4f 6e 65 20 | 69 6e 74 65 72 65 73 74 |ty..One |interest|
|000001e0| 69 6e 67 20 66 75 6e 63 | 74 69 6f 6e 3a 0d 0d 5c |ing func|tion:..\|
|000001f0| 72 65 6e 65 77 63 6f 6d | 6d 61 6e 64 7b 5c 69 6e |renewcom|mand{\in|
|00000200| 64 65 78 73 75 62 69 74 | 65 6d 7d 7b 28 69 6e 20 |dexsubit|em}{(in |
|00000210| 6d 6f 64 75 6c 65 20 70 | 61 6e 65 6c 29 7d 0d 5c |module p|anel)}.\|
|00000220| 62 65 67 69 6e 7b 66 75 | 6e 63 64 65 73 63 7d 7b |begin{fu|ncdesc}{|
|00000230| 64 65 66 70 61 6e 65 6c | 6c 69 73 74 7d 7b 66 69 |defpanel|list}{fi|
|00000240| 6c 65 6e 61 6d 65 7d 0d | 50 61 72 73 65 73 20 61 |lename}.|Parses a|
|00000250| 20 70 61 6e 65 6c 20 64 | 65 73 63 72 69 70 74 69 | panel d|escripti|
|00000260| 6f 6e 20 66 69 6c 65 20 | 63 6f 6e 74 61 69 6e 69 |on file |containi|
|00000270| 6e 67 20 53 2d 65 78 70 | 72 65 73 73 69 6f 6e 73 |ng S-exp|ressions|
|00000280| 20 77 72 69 74 74 65 6e | 20 62 79 20 74 68 65 0d | written| by the.|
|00000290| 7b 5c 65 6d 20 50 61 6e | 65 6c 20 45 64 69 74 6f |{\em Pan|el Edito|
|000002a0| 72 7d 0d 74 68 61 74 20 | 61 63 63 6f 6d 70 61 6e |r}.that |accompan|
|000002b0| 69 65 73 20 74 68 65 20 | 50 61 6e 65 6c 20 4c 69 |ies the |Panel Li|
|000002c0| 62 72 61 72 79 20 61 6e | 64 20 63 72 65 61 74 65 |brary an|d create|
|000002d0| 73 20 74 68 65 20 64 65 | 73 63 72 69 62 65 64 20 |s the de|scribed |
|000002e0| 70 61 6e 65 6c 73 2e 0d | 49 74 20 72 65 74 75 72 |panels..|It retur|
|000002f0| 6e 73 20 61 20 6c 69 73 | 74 20 6f 66 20 70 61 6e |ns a lis|t of pan|
|00000300| 65 6c 20 6f 62 6a 65 63 | 74 73 2e 0d 5c 65 6e 64 |el objec|ts..\end|
|00000310| 7b 66 75 6e 63 64 65 73 | 63 7d 0d 0d 5c 73 74 72 |{funcdes|c}..\str|
|00000320| 6f 6e 67 7b 57 61 72 6e | 69 6e 67 3a 7d 0d 74 68 |ong{Warn|ing:}.th|
|00000330| 65 20 50 79 74 68 6f 6e | 20 69 6e 74 65 72 70 72 |e Python| interpr|
|00000340| 65 74 65 72 20 77 69 6c | 6c 20 64 75 6d 70 20 63 |eter wil|l dump c|
|00000350| 6f 72 65 20 69 66 20 79 | 6f 75 20 64 6f 6e 27 74 |ore if y|ou don't|
|00000360| 20 63 72 65 61 74 65 20 | 61 20 47 4c 20 77 69 6e | create |a GL win|
|00000370| 64 6f 77 0d 62 65 66 6f | 72 65 20 63 61 6c 6c 69 |dow.befo|re calli|
|00000380| 6e 67 0d 5c 63 6f 64 65 | 7b 70 61 6e 65 6c 2e 6d |ng.\code|{panel.m|
|00000390| 6b 70 61 6e 65 6c 28 29 | 7d 0d 6f 72 0d 5c 63 6f |kpanel()|}.or.\co|
|000003a0| 64 65 7b 70 61 6e 65 6c | 2e 64 65 66 70 61 6e 65 |de{panel|.defpane|
|000003b0| 6c 6c 69 73 74 28 29 7d | 2e 0d 0d 5c 73 65 63 74 |llist()}|...\sect|
|000003c0| 69 6f 6e 7b 53 74 61 6e | 64 61 72 64 20 4d 6f 64 |ion{Stan|dard Mod|
|000003d0| 75 6c 65 20 5c 73 65 63 | 74 63 6f 64 65 7b 70 61 |ule \sec|tcode{pa|
|000003e0| 6e 65 6c 70 61 72 73 65 | 72 7d 7d 0d 5c 73 74 6d |nelparse|r}}.\stm|
|000003f0| 6f 64 69 6e 64 65 78 7b | 70 61 6e 65 6c 70 61 72 |odindex{|panelpar|
|00000400| 73 65 72 7d 0d 0d 54 68 | 69 73 20 6d 6f 64 75 6c |ser}..Th|is modul|
|00000410| 65 20 64 65 66 69 6e 65 | 73 20 61 20 73 65 6c 66 |e define|s a self|
|00000420| 2d 63 6f 6e 74 61 69 6e | 65 64 20 70 61 72 73 65 |-contain|ed parse|
|00000430| 72 20 66 6f 72 20 53 2d | 65 78 70 72 65 73 73 69 |r for S-|expressi|
|00000440| 6f 6e 73 20 61 73 20 6f | 75 74 70 75 74 0d 62 79 |ons as o|utput.by|
|00000450| 20 74 68 65 20 50 61 6e | 65 6c 20 45 64 69 74 6f | the Pan|el Edito|
|00000460| 72 20 28 77 68 69 63 68 | 20 69 73 20 77 72 69 74 |r (which| is writ|
|00000470| 74 65 6e 20 69 6e 20 53 | 63 68 65 6d 65 20 73 6f |ten in S|cheme so|
|00000480| 20 69 74 20 63 61 6e 27 | 74 20 68 65 6c 70 20 77 | it can'|t help w|
|00000490| 72 69 74 69 6e 67 0d 53 | 2d 65 78 70 72 65 73 73 |riting.S|-express|
|000004a0| 69 6f 6e 73 29 2e 0d 54 | 68 65 20 72 65 6c 65 76 |ions)..T|he relev|
|000004b0| 61 6e 74 20 66 75 6e 63 | 74 69 6f 6e 20 69 73 0d |ant func|tion is.|
|000004c0| 5c 63 6f 64 65 7b 70 61 | 6e 65 6c 70 61 72 73 65 |\code{pa|nelparse|
|000004d0| 72 2e 70 61 72 73 65 5f | 66 69 6c 65 28 5c 76 61 |r.parse_|file(\va|
|000004e0| 72 7b 66 69 6c 65 7d 29 | 7d 0d 77 68 69 63 68 20 |r{file})|}.which |
|000004f0| 68 61 73 20 61 20 66 69 | 6c 65 20 6f 62 6a 65 63 |has a fi|le objec|
|00000500| 74 20 28 6e 6f 74 20 61 | 20 66 69 6c 65 6e 61 6d |t (not a| filenam|
|00000510| 65 21 29 20 61 73 20 61 | 72 67 75 6d 65 6e 74 20 |e!) as a|rgument |
|00000520| 61 6e 64 20 72 65 74 75 | 72 6e 73 20 61 20 6c 69 |and retu|rns a li|
|00000530| 73 74 0d 6f 66 20 70 61 | 72 73 65 64 20 53 2d 65 |st.of pa|rsed S-e|
|00000540| 78 70 72 65 73 73 69 6f | 6e 73 2e 0d 45 61 63 68 |xpressio|ns..Each|
|00000550| 20 53 2d 65 78 70 72 65 | 73 73 69 6f 6e 20 69 73 | S-expre|ssion is|
|00000560| 20 63 6f 6e 76 65 72 74 | 65 64 20 69 6e 74 6f 20 | convert|ed into |
|00000570| 61 20 50 79 74 68 6f 6e | 20 6c 69 73 74 2c 20 77 |a Python| list, w|
|00000580| 69 74 68 20 61 74 6f 6d | 73 20 63 6f 6e 76 65 72 |ith atom|s conver|
|00000590| 74 65 64 0d 74 6f 20 50 | 79 74 68 6f 6e 20 73 74 |ted.to P|ython st|
|000005a0| 72 69 6e 67 73 20 61 6e | 64 20 73 75 62 2d 65 78 |rings an|d sub-ex|
|000005b0| 70 72 65 73 73 69 6f 6e | 73 20 28 72 65 63 75 72 |pression|s (recur|
|000005c0| 73 69 76 65 6c 79 29 20 | 74 6f 20 50 79 74 68 6f |sively) |to Pytho|
|000005d0| 6e 20 6c 69 73 74 73 2e | 0d 46 6f 72 20 6d 6f 72 |n lists.|.For mor|
|000005e0| 65 20 64 65 74 61 69 6c | 73 2c 20 72 65 61 64 20 |e detail|s, read |
|000005f0| 74 68 65 20 6d 6f 64 75 | 6c 65 20 66 69 6c 65 2e |the modu|le file.|
|00000600| 0d 25 20 58 58 58 58 4a | 48 20 73 68 6f 75 6c 64 |.% XXXXJ|H should|
|00000610| 20 62 65 20 66 75 6e 63 | 64 65 73 63 2c 20 49 20 | be func|desc, I |
|00000620| 74 68 69 6e 6b 0d 0d 5c | 73 65 63 74 69 6f 6e 7b |think..\|section{|
|00000630| 42 75 69 6c 74 2d 69 6e | 20 4d 6f 64 75 6c 65 20 |Built-in| Module |
|00000640| 5c 73 65 63 74 63 6f 64 | 65 7b 70 6e 6c 7d 7d 0d |\sectcod|e{pnl}}.|
|00000650| 5c 62 69 6d 6f 64 69 6e | 64 65 78 7b 70 6e 6c 7d |\bimodin|dex{pnl}|
|00000660| 0d 0d 54 68 69 73 20 6d | 6f 64 75 6c 65 20 70 72 |..This m|odule pr|
|00000670| 6f 76 69 64 65 73 20 61 | 63 63 65 73 73 20 74 6f |ovides a|ccess to|
|00000680| 20 74 68 65 0d 7b 5c 65 | 6d 20 50 61 6e 65 6c 20 | the.{\e|m Panel |
|00000690| 4c 69 62 72 61 72 79 7d | 0d 62 75 69 6c 74 20 62 |Library}|.built b|
|000006a0| 79 20 4e 41 53 41 20 41 | 6d 65 73 20 28 74 6f 20 |y NASA A|mes (to |
|000006b0| 67 65 74 20 69 74 2c 20 | 73 65 6e 64 20 65 2d 6d |get it, |send e-m|
|000006c0| 61 69 6c 20 74 6f 0d 7b | 5c 74 74 20 70 61 6e 65 |ail to.{|\tt pane|
|000006d0| 6c 2d 72 65 71 75 65 73 | 74 40 6e 61 73 2e 6e 61 |l-reques|t@nas.na|
|000006e0| 73 61 2e 67 6f 76 7d 29 | 2e 0d 41 6c 6c 20 61 63 |sa.gov})|..All ac|
|000006f0| 63 65 73 73 20 74 6f 20 | 69 74 20 73 68 6f 75 6c |cess to |it shoul|
|00000700| 64 20 62 65 20 64 6f 6e | 65 20 74 68 72 6f 75 67 |d be don|e throug|
|00000710| 68 20 74 68 65 20 73 74 | 61 6e 64 61 72 64 20 6d |h the st|andard m|
|00000720| 6f 64 75 6c 65 0d 5c 63 | 6f 64 65 7b 70 61 6e 65 |odule.\c|ode{pane|
|00000730| 6c 7d 2c 0d 77 68 69 63 | 68 20 74 72 61 6e 73 70 |l},.whic|h transp|
|00000740| 61 72 61 6e 74 6c 79 20 | 65 78 70 6f 72 74 73 20 |arantly |exports |
|00000750| 6d 6f 73 74 20 66 75 6e | 63 74 69 6f 6e 73 20 66 |most fun|ctions f|
|00000760| 72 6f 6d 0d 5c 63 6f 64 | 65 7b 70 6e 6c 7d 0d 62 |rom.\cod|e{pnl}.b|
|00000770| 75 74 20 72 65 64 65 66 | 69 6e 65 73 0d 5c 63 6f |ut redef|ines.\co|
|00000780| 64 65 7b 70 6e 6c 2e 64 | 6f 70 61 6e 65 6c 28 29 |de{pnl.d|opanel()|
|00000790| 7d 2e 0d 0d 5c 73 74 72 | 6f 6e 67 7b 57 61 72 6e |}...\str|ong{Warn|
|000007a0| 69 6e 67 3a 7d 0d 74 68 | 65 20 50 79 74 68 6f 6e |ing:}.th|e Python|
|000007b0| 20 69 6e 74 65 72 70 72 | 65 74 65 72 20 77 69 6c | interpr|eter wil|
|000007c0| 6c 20 64 75 6d 70 20 63 | 6f 72 65 20 69 66 20 79 |l dump c|ore if y|
|000007d0| 6f 75 20 64 6f 6e 27 74 | 20 63 72 65 61 74 65 20 |ou don't| create |
|000007e0| 61 20 47 4c 20 77 69 6e | 64 6f 77 0d 62 65 66 6f |a GL win|dow.befo|
|000007f0| 72 65 20 63 61 6c 6c 69 | 6e 67 0d 5c 63 6f 64 65 |re calli|ng.\code|
|00000800| 7b 70 6e 6c 2e 6d 6b 70 | 61 6e 65 6c 28 29 7d 2e |{pnl.mkp|anel()}.|
|00000810| 0d 0d 54 68 65 20 6d 6f | 64 75 6c 65 20 69 73 20 |..The mo|dule is |
|00000820| 74 6f 6f 20 6c 61 72 67 | 65 20 74 6f 20 64 6f 63 |too larg|e to doc|
|00000830| 75 6d 65 6e 74 20 68 65 | 72 65 20 69 6e 20 69 74 |ument he|re in it|
|00000840| 73 20 65 6e 74 69 72 65 | 74 79 2e 0d |s entire|ty.. |
+--------+-------------------------+-------------------------+--------+--------+